import React from 'react'
import '../../static/css/han.form.css'

export default props =>(
            <div className={["han_input","han_input_"+props.model].join(' ')}>
                
                <span>{props.label}</span>
                <input 
                placeholder="请输入" 
                disabled={props.disabled||false} 
                type={props.type||'text'} 
                value={props.value} 
                onChange={ e =>props.change(e.target.value)}/>
            </div>
        )

